using System;
using System.Collections;
using System.Collections.Generic;

using Framework.Library.Base;

namespace Framework.Library.Domain
{
    public partial class PortalRole : BusinessBase<int>
    {
        #region Declarations

		
		private string _roleName = String.Empty;
		private string _roleDescription = String.Empty;
		private int _roleParentID = default(Int32);
		
		
		
        #endregion

        #region Constructors

        public PortalRole() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_roleName);
			sb.Append(_roleDescription);
			sb.Append(_roleParentID);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual string RoleName
        {
            get { return _roleName; }
			set
			{
				
				_roleName = value;
				
			}
        }
		
		public virtual string RoleDescription
        {
            get { return _roleDescription; }
			set
			{
				
				_roleDescription = value;
				
			}
        }
		
		public virtual int RoleParentID
        {
            get { return _roleParentID; }
			set
			{
				
				_roleParentID = value;
				
			}
        }
		
        #endregion
    }
}
